package com.lee.lease.web.admin.service;


import com.lee.lease.web.admin.vo.login.CaptchaVo;
import com.lee.lease.web.admin.vo.login.LoginVo;
import com.lee.lease.web.admin.vo.system.user.SystemUserInfoVo;

public interface LoginService {

    CaptchaVo getCaptcha();


    /**
     * 登录
     * @param loginVo
     * @return 登录成功返回一个token
     */
    String login(LoginVo loginVo);

    SystemUserInfoVo findByUserId(Long userId);

}
